﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Warehousies
{
    /// <summary>
    /// 仓库物品明细
    /// </summary>
    [SugarTable("waregoodsmodel", TableDescription = "仓库物品明细")]
    public class Waregoodsmodel:BaseEntity
    {
        /// <summary>
        /// 物品编号
        /// </summary>
        public string Goodscode { get; set; }

        /// <summary>
        /// 物品名称
        /// </summary>
        public string Goodsname { get; set; }

        /// <summary>
        /// 所在托盘
        /// </summary>
        public long Palletmodelid { get; set; }

        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime Inbounddate { get; set; }

        /// <summary>
        /// 出库时间
        /// </summary>
        public DateTime? Deliverydate { get; set; }

        /// <summary>
        /// 主单位数量  单位为箱
        /// </summary>
        public int Primaryunitnum { get; set; }

        /// <summary>
        /// 金额 
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 状态  --false 未出库  true已出库
        /// </summary>
        public bool State { set; get; }

        /// <summary>
        /// 批次
        /// </summary>
        public long Batchid { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
